$color: orange;

body {
  background: #f1f1f1;
}

a,a:hover {
  text-decoration: none;
}

header {
  .navbar {
    background: white;
  }
}

.navbar-default .navbar-nav > .active > a {
  &, &:focus, &:hover {
    background: none;
    border-bottom: 3px solid $color;
  }
}

.panel-heading {
  padding: 6px 15px;
  font-size: 14px;
}

/*https://bootsnipp.com/snippets/featured/panels-with-nav-tabs*/
.panel.with-nav-tabs {
  .panel-heading {
    padding: 2px 2px 0 2px;
  }

  .nav-tabs {
    border-bottom: none;
  }

  .nav-justified {
    margin-bottom: -1px;
  }
}

.with-nav-tabs.panel-default {
  .nav-tabs > li > a {
    padding: 5px 2px;
  }
}

/********************************************************************/
/*** PANEL DEFAULT ***/
.with-nav-tabs.panel-default .nav-tabs > li > a,
.with-nav-tabs.panel-default .nav-tabs > li > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li > a:focus {
  color: #777;
}

.with-nav-tabs.panel-default .nav-tabs > .open > a,
.with-nav-tabs.panel-default .nav-tabs > .open > a:hover,
.with-nav-tabs.panel-default .nav-tabs > .open > a:focus,
.with-nav-tabs.panel-default .nav-tabs > li > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li > a:focus {
  color: #777;
  background-color: #ddd;
  border-color: transparent;
}

.with-nav-tabs.panel-default .nav-tabs > li.active > a,
.with-nav-tabs.panel-default .nav-tabs > li.active > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li.active > a:focus {
  color: #555;
  background-color: #fff;
  border-color: #ddd;
  border-bottom-color: transparent;
}

.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu {
  background-color: #f5f5f5;
  border-color: #ddd;
}

.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a {
  color: #777;
}

.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a:focus {
  background-color: #ddd;
}

.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a,
.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a:focus {
  color: #fff;
  background-color: #555;
}


/*************************/

.blogs {

}

.blog-item {
  overflow: hidden;
  margin-bottom: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 4px;
  box-shadow: 0 2px 5px 0 rgba(146, 146, 146, .1);
  transition: all .6s ease;
  position: relative;

  &:before {
    position: absolute;
    content: "";
    width: 5px;
    height: 26px;
    background: $color;
    left: 0
  }
  &:hover {
    box-shadow: 0 2px 5px 0 $color;
  }
  .blog-pic {
    position: relative;
    float: left;
    width: 230px;
    max-height: 130px;
    margin-right: 20px;
    display: block;
    overflow: hidden;
    img {
      width: 100%;
      height: auto;
      transition: all .6s ease;
      &:hover {
        transform: scale(1.1);
      }
    }
  }
  .blog-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    a {
      color: #555;
      font-weight: bold;
      transition: .2s;
      &:hover {
        color: $color;
      }
    }
  }
  .blog-text {
    font-size: 14px;
    color: #566573;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    height: 60px
  }
  .blog-info {
    overflow: hidden;
    display: block;
    font-size: 13px;
    position: relative;
    padding: 5px 0 0;
    li {
      float: left;
      padding: 0 0 0 10px;
      color: #748594;
      display: inline-block;
      &:first-child {
        padding-left: 0
      }
      .comment-link-a {
        color: #748594;
        &:hover {
          color: #0bb8ca
        }
      }
      .fa {
        margin-right: 3px
      }
    }
    .read-more {
      position: absolute;
      display: block;
      background: $color;
      color: #FFF;
      bottom: 0;
      right: 0;
      padding: 3px 8px;
      transition: all .3s;
      &:hover {
        background: darken($color,10%);
      }
    }
  }
  .blog-type {
    position: absolute;
    top: 0;
    left: 0;
    background: $color;
    padding: 3px 5px;
    opacity: .8;
    a {
      color: #fff
    }
  }
}

